import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
import userInfo from './modules/userInfo'
import webBasicInfo from './modules/webBasicInfo'
import curCourse from './modules/curCourse'
import curKnoledge from './modules/curKnoledge'
import curLibrary from './modules/curLibrary'
import menuManage from './modules/menuManage'
import common from './modules/common'
//考试模块
import question from './modules/exam/question'
import tastPaper from './modules/exam/tastPaper'
import testExam from './modules/exam/testExam'
import examClassify from './modules/exam/examClassify'
import testSubjectsError from './modules/exam/testSubjectsError'
import testExercisesHis from './modules/exam/testExercisesHis'
//采集模块
import spiderTask from './modules/collect/spiderTask'
import sysNewsContents from './modules/collect/sysNewsContents'
//论坛模块
import bbsTopic from './modules/BBS/bbsTopic'
import bbsComment from './modules/BBS/bbsComment'
import bbsFans from './modules/BBS/bbsFans'
import bbsCollect from './modules/BBS/bbsCollect'
//课程模块
import sysCourse from './modules/course/sysCourse'
import sysCourseChapter from './modules/course/sysCourseChapter'
import sysChapterMark from './modules/course/sysChapterMark'
import sysCourseNotes from './modules/course/sysCourseNotes'
import sysEvaluate from './modules/course/sysEvaluate'
//教学计划
import eduLesson from './modules/course/eduLesson'
import eduLessonPlan from './modules/course/eduLessonPlan'
import eduSignIn from './modules/course/eduSignIn'
import eduSignInPerson from './modules/course/eduSignInPerson'
import eduClasses from './modules/course/eduClasses'
import eduClassesStudent from './modules/course/eduClassesStudent'
//知识点模块
import sysKnowledge from './modules/knowledge/sysKnowledge'
//首页模块控制
import sysColumnControl from './modules/sysColumnControl'

export default new Vuex.Store({
  modules: {
    userInfo,
    webBasicInfo,
    curCourse,
    curKnoledge,
    curLibrary,
    menuManage,
    common,
    question,
    tastPaper,
    testExam,
    examClassify,
    testSubjectsError,
    testExercisesHis,
    spiderTask,
    sysNewsContents,
    bbsTopic,
    bbsComment,
    bbsFans,
    bbsCollect,
    sysCourse,
    sysCourseChapter,
    sysKnowledge,
    sysChapterMark,
    sysCourseNotes,
    sysEvaluate,
    sysColumnControl,
    eduLesson,
    eduLessonPlan,
    eduSignIn,
    eduSignInPerson,
    eduClasses,
    eduClassesStudent,
  },
})
